home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / lib / objcol2 / button.h next >
Encoding:
C/C++ Source or Header  |  1995-08-08  |  672 b   |  21 lines

  1. #define BTC_OFF    0
  2. #define BTC_ON    2
  3.  
  4. void    BT_init( char *w );
  5. int        BT_create( int type, int bx, int by, int dx, int dy, char *mes );
  6. int        BT_getStatus( int num, int *state );
  7. int     BT_reverse( int num, int in );
  8. int        BT_disappear( int num );
  9. int        BT_check( int num, int cx, int cy );
  10.  
  11. /*
  12.   BT_create( int type, int bx, int by, int dx, int dy, char *mes );
  13.   引き数  type    ボタンのタイプ(0:表示しない 1:表示する)
  14.           (bx,by) ボタンの左上の座標
  15.           dx      x方向のドット数
  16.           dy      y方向のドット数
  17.           mes     ボタンに書く文字(NULLは無地のボタン)
  18.   返り値  0-15    ボタン番号
  19.           -1      ボタンが既に16個作られている
  20. */
  21.